package com.zxy.ziems.server.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author 10348359
 * @create 2024-05-02 13:36
 */
@Data
public class DeviceCollectorExcelDTO {

    @ExcelProperty("设备编号")
    private String deviceCode;

    @ExcelProperty("设备名称")
    private String deviceName;


    @ExcelProperty("设备类型")
    private String deviceTypeCode;

    @ExcelProperty("IP")
    private String ip;

    @ExcelProperty("从站")
    private String station;

    @ExcelProperty("通道名称")
    private String channelName;

    @ExcelProperty("采集器编号")
    private String collectorCode;

    @ExcelProperty("功能码")
    private Integer functionCode;

    @ExcelProperty( "开始位置")
    private Integer startAddress;

    @ExcelProperty("字节长度")
    private Integer quantity;

    /**
     * 数据类型
     * long int
     */
    @ExcelProperty("类型")
    private String type;

    /**
     *
     * 字节偏移量
     */
    @ExcelProperty("字节偏移")
    private Integer byteOffset;

    /**
     *
     * 位偏移量
     */
    @ExcelProperty("位偏移量")
    private Integer bitOffset;

    @ExcelProperty("大端模式")
    private String bigEndian;


    @ExcelProperty("显示单位")
    private String unitCode;

    @ExcelProperty("采集单位")
    private String dataUnitCode;

    @ExcelProperty("属性名称")
    private String propertyName;

}

